.shopping-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    margin: 30px 0;
    font-weight: 600;
}

.shopping-cart-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.shopping-cart-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.shopping-cart-table tr:hover {
    background-color: #f9f9f9;
}

.shopping-cart-table .order-id {
    font-weight: 500;
    color: #2c3e50;
}

.shopping-cart-table .total-price {
    font-weight: 500;
    color: #e74c3c;
}

.shopping-cart-table .details-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.shopping-cart-table .details-link:hover {
    text-decoration: underline;
}

.shopping-cart-table .empty-cart {
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: #7f8c8d;
}

.shopping-cart-table .action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.shopping-cart-table .action-buttons a {
    padding: 8px 16px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.shopping-cart-table .action-buttons a:hover {
    background-color: #27ae60;
}

/* 发货按钮样式 */
.completeButton {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

/* 未完成订单的按钮样式 */
.completeButton.active {
    background-color: #4CAF50;
    cursor: pointer;
}

/* 已完成订单的按钮样式 */
.completeButton.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .shopping-cart-table {
        display: block;
        overflow-x: auto;
    }

    .shopping-cart-table th,
    .shopping-cart-table td {
        padding: 8px 10px;
    }
}